package org.jeecg.modules.xindian.reconciliation.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import org.jeecg.modules.xindian.reconciliation.controller.req.PolicyRelationExcel;
import org.jeecg.modules.xindian.reconciliation.entity.ChannelSettlementInfo;
import org.jeecg.modules.xindian.reconciliation.entity.SalesmanSettlementInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.xindian.reconciliation.entity.SettlementPolicyRelation;

import java.util.Date;
import java.util.List;

/**
 * @Description: 业务员结算信息
 * @Author: jeecg-boot
 * @Date:   2024-04-11
 * @Version: V1.0
 */
public interface ISalesmanSettlementInfoService extends IService<SalesmanSettlementInfo> {
    /**
     * 同步上个月数据
     */
    void synchronizeLastMonth();

    public void synchronizeMouth(Date date);

    /**
     * 确认保单
     * @param id
     */
    void confirmPolicy(String id);


    void loadSettlementByUpLoadFile(String id , List<PolicyRelationExcel> relations);

    IPage<SalesmanSettlementInfo> querySalesmanSettlementInfo(IPage<SalesmanSettlementInfo> page, String date);
}
